<?php
//----------------------------------------------------------------------------------------------------------
   require_once('../config.inc.php');
   require_once($config['app_dir'] . '/includes/date.class.php');
   //---------------------------------------------------------------------------------------------------
   echo DateConvert::SQLDate('Y-m-d H:i:s', 'test').'<br>';
   echo DateConvert::UnixDate('2006-12-05').'<br>';
   echo DateConvert::UnixDate('2006-12-05 12:35').'<br>';
   echo DateConvert::DBDate(1188018583).'<br>';
   echo DateConvert::DBDate(DateConvert::UnixDate('2006-12-05 12:35'));
//----------------------------------------------------------------------------------------------------------
?>
